package com.eq;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import com.eq.util.ConfigurationManager;

@SpringBootApplication
public class FileServerApplication {
    public static void main(String[] args) {
        for (String arg : args) {
            if (arg.startsWith("--genconfig")) {
                ConfigurationManager.generatePropertiesFile();
            }
        }

        SpringApplication.run(FileServerApplication.class, args);
    }
}
